<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>管理员登录</title>
	<link href="image/icon.jpg" rel="icon">
	<link href="css/bootstrap.css" rel="stylesheet" >
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body>
	<% Object message = request.getSession().getAttribute("manaLoginMessage");
		if(message==null){
			message="";
		}
	%>
	<div class="container">
		<div class="col-md-4"></div>
		<div class="col-md-4">
			<form class="form-signin" action="UserServlet?op=managerLogin" method="post">
       			 <h2 class="form-signin-heading" style="color: blue"><b>管理员登录</b></h2>
       			 <input type="text" id="managerEmail"  name="email" class="form-control" placeholder="请输入用户名" ><br/>
        		 <input type="password" id="managerPass" name="pass" class="form-control" placeholder="请输入密码" >
        		 <div class="checkbox">
          			<label style="color: #8A2BE2">
           			 	<input type="checkbox" name="rememberManager" value="rememberManager">记住密码
          			</label>
       		     </div>
        		 <button class="btn btn-lg btn-primary btn-block" type="submit" style="background-color: #40E0D0">登录</button>
        		 <div id="prompt" style="color: red" ><h4><%= message %></h4></div>
     		</form>
		</div>
	</div>
</body>
</html>